package foundation.app;


import com.google.gson.GsonBuilder;

/**
 * @author futao
 * Created on 18-7-23-下午4:02.
 */
public class ObjectToGsonString {
    public static String parse(Object source) {
        return new GsonBuilder()
                .setPrettyPrinting()
                .create()
                .toJson(source);
    }
}
